package com.jic.product.controller.rest.vo;

import com.jic.product.model.entity.File;
import com.jic.product.model.entity.ProductComment;
import com.jic.product.model.entity.ProductCommentReply;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 前端接口评论详情响应实体
 * @author : 
 * @email : 
 * @since : 2020-02-10 05:50:14
 * @version : v1.0.0
 */
@Getter
@Setter
public class MProductCommentInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //id
    private long id;
//评论渠道 “H5” “PC”
    private String channel;

    //父级id
    private Long pid;
    //类型 0:评论 1:追评
    private Integer type;
    //用户id
    private Long memberId;
    //订单编号
    private String orderNo;
    //商品id
    private Long productId;
    //商品名称
    private String productName;
    //商品主图
    private String productImg;
    //评论内容
    private String content;
    //评价星级
    private Integer startNum;
    //状态 0：待审核 1：审核通过 2：审核拒绝
    private Integer status;
    //置顶状态 0:未置顶 1:已置顶
    private Integer stickyStatus;
    //是否匿名 0:不匿名  1:匿名
    private Integer anonymousFlag;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //用户账号
    private String memberAccount;
    //商品评分
    private String productRating;
    //服务评分
    private String serviceRating;
    //物流评分
    private String logisticsScore;
    //综合评分
    private String overallRating;
    //店铺ID
    private Integer storeId;

    @ApiModelProperty(notes = "评价图片")
    private List<File> fileList;

    @ApiModelProperty(notes = "追评内容")
    private List<MProductCommentInfoVo> additionalReviewList;

    @ApiModelProperty(notes = "回复内容")
    private List<ProductCommentReply> writeBackList;
}